package com.demo.springBoot2.socket;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.websocket.Session;

/**
 * @Author pl711@qq.com
 * @PackageName springBoot2
 * @Package com.demo.springBoot2.config
 * @Date 2024/3/27 14:50
 * @Version 1.0
 */
@ToString
//全参构造
@AllArgsConstructor
//无参数构造
@NoArgsConstructor
@Data
public class SocketUserInfo {
    //登录的用户昵称
    private String nickname;
    //当前会话
    private Session session;
}
